#ifndef KGAMEDB_H
#define KGAMEDB_H

#include <QtSql>
#include <QObject>

#define DEFAULT_GAMEDB_NAME     "games.kdb"

class KGameDB : public QObject
{
Q_OBJECT

public:
    explicit KGameDB(QObject *parent = 0);

    bool    setMaster( bool master );

signals:

public slots:

private:
    QSqlDatabase    igames;
    bool        isMaster;
    bool        __securityChecked;
};

#endif // KGAMEDB_H

/*
    igames = QSqlDatabase::addDatabase( "QSQLITE", "Games" );
    igames.setDatabaseName("games.kdb");

  */
